<!DOCTYPE html>
<html>
<head>
    <title>微食刻后台管理系统</title>
    <!--#include("common/common-link.html"){}-->
    <link href="${ctx}/assets/css/main.css?v=0.0.13" rel="stylesheet">
</head>
<body>
<div class="wrap" style="display: none">
    <div class="head">
        <div class="logo">
            <img src="${ctx}/assets/images/logo_new.png?t=1502381889798">微食刻后台管理系统
        </div>
        <div class="manage">
				<span class="item">
					<span class="glyphicon glyphicon-user"></span>
					欢迎您<label class="name">{{user.company.name}}</label>,<label
                        class="role-name">{{user.roleName}}</label>
				</span>
            <span class="item span-btn logout" @click="logout">
					<span class="glyphicon glyphicon-off"></span>
					注销
				</span>
            <span class="item span-btn modify-pwd" @click="popModifyBox">
					<span class="glyphicon glyphicon-lock"></span>
					修改密码
				</span>
        </div>
    </div>
    <div class="menu-container holder">
        <div class="switch" @click="change">
            <span :class="converter.clz"></span>
        </div>
        <ul class="list-group">
            <li class="list-group-item" v-for="(menu,index) in menus">
                <div :class="'menu-title menu'+index" :data-index="index">
                    <span :class="menu.iconClass"></span>
                    <span>{{menu.name}}</span>
                </div>
                <div class="menu-items" style="display:none">
                    <div class="menu-item" v-for="(subMenu,index) in menu.subMenus">
                        <a :href="subMenu.url" target="main">{{subMenu.name}}</a>
                    </div>
                </div>
            </li>
        </ul>
    </div>
    <div class="content-container holder">
        <iframe name="main" src="welcome" height="100%" width="100%" frameborder=0 style="display: block;"></iframe>
    </div>
    <div class="pwd-div" style="display: none">
        <div class="msg">{{message}}</div>
        <div class="form-group">
            <div class="col-l">原密码：</div>
            <div class="col-r">
                <input type="password" class="form-control oldPwd" v-model="form.oldPassword">
            </div>
        </div>
        <div style="clear: both"></div>
        <div class="form-group">
            <div class="col-l">新密码：</div>
            <div class="col-r">
                <input type="password" class="form-control newPwd" v-model="form.newPassword">
            </div>
        </div>
        <div style="clear: both"></div>
        <div class="form-group">
            <div class="col-l">确认密码：</div>
            <div class="col-r">
                <input type="password" class="form-control confirmPwd" v-model="form.confirmPassword">
            </div>
        </div>
        <div style="clear: both"></div>
        <div class="btn btn-primary modify-pwd-btn" @click="modifyPwd">确&nbsp;&nbsp;定</div>
        <div class="btn btn-primary close-pwd-btn" @click="closeModifyBox">取&nbsp;&nbsp;消</div>
    </div>
</div>
<script src="${ctx}/assets/js/main.js?v=1.0.3"></script>
</body>
</html>